package com.jk.service;

import com.jk.OrderBean;
import com.jk.UserBean;
import com.jk.UserInfo;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;

public interface UserService2 {
    String sendCode(String phone,String typ);

    HashMap<String, Object>  quickLogin(String phone, String code,String typ);

    HashMap<String, Object> login(String userName, String userPwd);

    String upPwd(String phone,String userPwd);

    String addUser(UserBean user, String code,String typ);

    List<OrderBean> queryOrder(String phone, Integer page, Integer rows);

    String updateUserInfo(UserInfo user);

    UserInfo queryUserInfo(Integer userId);

    void logout();

    void delOrder(String orderId, String phone);

    OrderBean queeryOrder(String orderId, String state, String phone);

    OrderBean queryDetails(String orderId);
}
